package org.springblade.modules.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author Sharry
 * @since 2023-11-28
 */
@Data
public class MaintainPlanCheckPageDTO {
	@ApiModelProperty("当前页")
	private Integer current;

	@ApiModelProperty("每页的数量")
	private Integer size;

	@ApiModelProperty("项目id")
	private Long buildingId;

	@ApiModelProperty("电梯id")
	private List<Long> elevatorIds;

	@ApiModelProperty("工单状态")
	private Integer planStatus;

	@ApiModelProperty("创建人")
	private Long createUserId;

	@ApiModelProperty("执行人")
	private String planUserId;

	@ApiModelProperty(value = "1:非常紧急2:紧急3:普通4:较低")
	private Integer emerProcType;

	@ApiModelProperty(value = "质检结果 1: 通过 2: 不通过")
	private Integer checkResult;

	@ApiModelProperty(value = "整改工单：null-全部 0-无 1-有")
	private Integer relationPlans;

	@ApiModelProperty(value = "1:保养质检，2:重复故障质检，3:维保移交质检4:安装移交质检5:常规质检")
	private Integer checkType;

	/**
	 * 创建时间查询
	 */
	@ApiModelProperty(value = "创建开始时间")
	private Date createBeginTime;

	@ApiModelProperty(value = "创建结束时间")
	private Date createEndTime;

	/**
	 * 工单时间查询
	 */
	@ApiModelProperty(value = "工单执行开始时间")
	private Date planBeginDate;
	@ApiModelProperty(value = "工单执行结束时间")
	private Date planEndDate;

	/**
	 * 工单开始时间查询
	 */
	@ApiModelProperty(value = "工单开始时间")
	private Date planBeginTime;

	@ApiModelProperty(value = "工单结束时间")
	private Date planEndTime;

	/**
	 * 工单结束时间查询
	 */
	@ApiModelProperty(value = "工单计划完成开始时间")
	private Date planFinishBeginTime;

	@ApiModelProperty(value = "工单计划完成结束时间")
	private Date planFinishEndTime;

	@ApiModelProperty("用户状态1:表示获取用户离职人员的数据，只要进行中和待开始的")
	private Integer isUserStatus;

	@ApiModelProperty("工单状态")
	private List<Integer> planStatuss;
}
